﻿using UnityEngine;
using System.Collections;

public class createRoomPanel : MonoBehaviour {
	
	public UILabel mapName;
	string mapString;
	public createRoomScript parent;
	public UIToggle myToggle;
	
	// Use this for initialization
	void Start () {
	
	}
	
	// Update is called once per frame
	void Update () {
	
	}
	
	public void selectMap()
	{
		parent.selectedMap = mapString;
		//Debug.Log(parent.selectedMap);
	}
	
	public void setMapName(string name)
	{
		mapName.text = name;
		mapString = name;
	}
	
	public void setAsStart()
	{
		myToggle.startsActive = true;
	}
	
}
